import request from '@/utils/request'

// 查询推广账户数据日报列表
export function listBiPromotionAccountDwd(query) {
  return request({
    url: '/marketing/BiPromotionAccountDwd/list',
    method: 'get',
    params: query
  })
}

// 查询推广账户数据日报详细
export function getBiPromotionAccountDwd(id) {
  return request({
    url: '/marketing/BiPromotionAccountDwd/' + id,
    method: 'get'
  })
}

// 新增推广账户数据日报
export function addBiPromotionAccountDwd(data) {
  return request({
    url: '/marketing/BiPromotionAccountDwd',
    method: 'post',
    data: data
  })
}

// 修改推广账户数据日报
export function updateBiPromotionAccountDwd(data) {
  return request({
    url: '/marketing/BiPromotionAccountDwd',
    method: 'put',
    data: data
  })
}

// 删除推广账户数据日报
export function delBiPromotionAccountDwd(id) {
  return request({
    url: '/marketing/BiPromotionAccountDwd/' + id,
    method: 'delete'
  })
}
